<?php

namespace Core\Service\Image;

class ImageFactory
{

    public static    $SUPPORTER_WIDE_IMAGE = 'ImageWide';
    public static    $SUPPORTER_NONE_IMAGE = 'ImageNone';


    /**
     * @param $name
     * @return ImageInterface
     */
    public static function getImageService($name){
        $className = __NAMESPACE__.'\\'.$name;
            return new $className();
    }

}
